import Vue from 'vue'
import Router from 'vue-router'
import videoplay from '@/components/videoplay'
import chongzhi from '@/components/chongzhi'
import index from '@/components/index'
import videos from '@/components/videos'
import search from '@/components/search'
import paysuccess from '@/components/paysuccess'
import samecity from '@/components/samecity'
import HelloWorld from '@/components/HelloWorld'
import Usermenu from '@/components/Usermenu'
import UpVideo from '@/components/UpVideo'
import Login from '@/components/Login'


Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/chongzhi',
      name: 'chongzhi',
      component: chongzhi
    },
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/videos',
      name: 'videos',
      component: videos
    },
    {
      path: '/search',
      name: 'search',
      component: search
    },
    {
      path: '/paysuccess',
      name: 'paysuccess',
      component: paysuccess
    },
    {
      path: '/videoplay',
      name: 'videoplay',
      component: videoplay
    },
    {
      path: '/chongzhi',
      name: 'chongzhi',
      component: chongzhi
    },
    {
      path: '/samecity',
      name: 'samecity',
      component: samecity
    },
  ]
})
